package com.jt.controller;

import com.jt.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xxh
 * @date 2021/4/28 13:26
 */

@RestController
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        User user = new User();
        user.setId(10086).setName("xu").setAge(28).setSex("男");
        return "你好 Mr.Xu！";
    }
}
